/**
 * The MIT License (MIT)
 * 
 * Copyright (c) 2016 mo_yq5 (mo_yq5@163.com)
 * 
 * Permission is hereby granted, free of charge, to any person obtaining a copy of
 * this software and associated documentation files (the "Software"), to deal in
 * the Software without restriction, including without limitation the rights to
 * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
 * the Software, and to permit persons to whom the Software is furnished to do so,
 * subject to the following conditions:
 * 
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 */
package com.openapi.alipay.trade.pay;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.openapi.alipay.AlipayResponse;
import com.openapi.alipay.trade.FundBill;

/**
 * 统一收单交易支付接口－响应参数
 * @author Moyq5
 * @since 2016年7月25日
 */
public class AlipayTradePayResponse extends AlipayResponse {

	
	/**
	 * 买家支付宝账号<br>
	 * 必填，最长100，如：159****5620
	 */
	@JsonProperty("buyer_logon_id")
	private String buyerLogonId;
	
	/**
	 * 买家付款的金额 <br>
	 * 最长11，如：8.88
	 */
	@JsonProperty("buyer_pay_amount")
	private Float buyerPayAmount;
	
	/**
	 * 买家在支付宝的用户id<br>
	 * 必填，最长28，如：2088101117955611
	 */
	@JsonProperty("buyer_user_id")
	private String buyerUserId;
	
	/**
	 * 支付宝卡余额<br>
	 * 最长11，如：98.23
	 */
	@JsonProperty("card_balance")
	private Float cardBalance;
	
	/**
	 * 本次交易支付所使用的单品券优惠的商品优惠信息<br>
	 * 必填，如：'[{"goods_id":"STANDARD1026181538","goods_name":"雪碧","discount_amount":"100.00","voucher_id":"2015102600073002039000002D5O"}]'
	 */
	@JsonProperty("discount_goods_detail")
	private String discountGoodsDetail;
	
	/**
	 * 交易支付使用的资金渠道<br>
	 * 必填
	 */
	@JsonProperty("fund_bill_list")
	private List<FundBill> fundBillList;
	
	/**
	 * 交易支付时间<br>
	 * 必填，最长32，如：2014-11-27 15:45:57
	 */
	@JsonProperty("gmt_payment")
	private String gmtPayment;
	
	/**
	 * 交易中可给用户开具发票的金额<br>
	 * 最长11，如：12.50
	 */
	@JsonProperty("invoice_amount")
	private Float invoiceAmount;
	
	/**
	 * 商户订单号<br>
	 * 必填，最长64，如：6823789339978248
	 */
	@JsonProperty("out_trade_no")
	private String outTradeNo;
	
	/**
	 * 使用积分宝付款的金额<br>
	 * 最长11，如：8.12
	 */
	@JsonProperty("point_amount")
	private Float pointAmount;
	
	/**
	 * 实收金额<br>
	 * 必填，最长11，如：88.88
	 */
	@JsonProperty("receipt_amount")
	private Float receiptAmount;
	
	/**
	 * 发生支付交易的商户门店名称<br>
	 * 最长512，如：证大五道口店
	 */
	@JsonProperty("store_name")
	private String storeName;
	
	/**
	 * 交易金额<br>
	 * 必填，最长100，如：120.88
	 */
	@JsonProperty("total_amount")
	private Float totalAmount;
	
	/**
	 * 支付宝交易号<br>
	 * 必填，最长64，如：2013112011001004330000121536
	 */
	@JsonProperty("trade_no")
	private String tradeNo;
}
